﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataFrameworkAccess.Entity;
using System.Data;

namespace Xinkui.Spider.DataAccess
{
    public class ProdcutEntity
    {
        [DataMapping("ProductID", DbType.Int32)]
        public int ProductID { get; set; }

        [DataMapping("ProductName", DbType.String)]
        public string ProductName { get; set; }

        [DataMapping("CompanyName", DbType.String)]
        public string CompanyName { get; set; }


        [DataMapping("CategoryID", DbType.Int32)]
        public int CategoryID { get; set; }


        [DataMapping("CompanyID", DbType.Int32)]
        public int CompanyID { get; set; }


        [DataMapping("UserID", DbType.Int32)]
        public int UserID { get; set; }


        [DataMapping("ProductDescription", DbType.String)]
        public string ProductDescription { get; set; }


        [DataMapping("PlaceOfOrigin", DbType.String)]
        public string PlaceOfOrigin { get; set; }


        [DataMapping("MainKeyword", DbType.String)]
        public string MainKeyword { get; set; }


        [DataMapping("Keywords", DbType.String)]
        public string Keywords { get; set; }


        [DataMapping("OEMNO", DbType.String)]
        public string OEMNO { get; set; }


        [DataMapping("CertificateIDS", DbType.String)]
        public string CertificateIDS { get; set; }


        [DataMapping("GroupID", DbType.Int32)]
        public int GroupID { get; set; }


        [DataMapping("KeyProducts", DbType.Int32)]
        public int KeyProducts { get; set; }


        [DataMapping("Application", DbType.String)]
        public string Application { get; set; }


        [DataMapping("PicImgs", DbType.String)]
        public string PicImgs { get; set; }


        [DataMapping("IsDeleted", DbType.Boolean)]
        public bool IsDeleted { get; set; }


        [DataMapping("CreateDate", DbType.DateTime)]
        public DateTime CreateDate { get; set; }


        [DataMapping("CreateIP", DbType.String)]
        public string CreateIP { get; set; }


        [DataMapping("UpdateDate", DbType.DateTime)]
        public DateTime UpdateDate { get; set; }


        [DataMapping("UpdateIP", DbType.String)]
        public string UpdateIP { get; set; }


        [DataMapping("AuditDate", DbType.DateTime)]
        public DateTime AuditDate { get; set; }


        /// <summary>
        /// 抓取地址
        /// </summary>
        [DataMapping("SpiderLink", DbType.String)]
        public System.String SpiderLink { get; set; }


        /// <summary>
        /// 是否已记录到数据库 
        /// 0：未记录  2：已记录
        /// </summary>
        public int IsSaveDB { get; set; }
    }
}
